import { createApp } from "vue";

// normalize.css
import "normalize.css/normalize.css";
// 全局样式
import "@/styles/index.less";
// tailwindcss
import "@/styles/tailwind.css";
import App from "./App.vue";
import router from "@/router";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"; //引入持久化插件
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate); //将插件添加到 pinia 实例上

const app = createApp(App);

app.use(router);
app.use(pinia);

app.mount("#app");
